package com.linkhub.oms.dao.mpservice;

import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
import com.linkhub.oms.entity.ProductStockEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 本地商品库存表 服务类
 * </p>
 *
 * @author echo
 * @since 2024-04-25
 */
public interface IProductStockService extends IService<ProductStockEntity> {

    List<ProductStockEntity> listBySkuIds(Collection<String> skuIds);

    List<ProductStockEntity> listBySkuIds(Collection<String> skuIds, SFunction<ProductStockEntity, ?>... columns);


    ProductStockEntity get(String userId, String stashName, String skuId);
}
